<?php

class Article extends AppModel {
  public $name = 'article';
  public $validate = array(
      'Article.name' => array(
          'title' => 'notEmpty',
          'message'=>'Title is required'
      ),
      'Article.body' => array(
          'title' => 'notEmpty',
          'message'=>'Body is required'
      )
  );
   
  
}

?>
